package vip.ifmm.lehouse.file.service.api.mock;

import vip.ifmm.lehouse.common.dto.ServerResponse;
import vip.ifmm.lehouse.common.enums.CommonStatus;
import vip.ifmm.lehouse.common.model.Enclosure;
import vip.ifmm.lehouse.file.service.api.EnclosureService;

/**
 * @author: mackyhuang
 * <p>email: mackyhuang@163.com <p>
 * <p>date: 2019/6/18 </p>
 */
public class EnclosureServiceMock implements EnclosureService {
    /**
     * 文件存储数据库
     * @param enclosure 需要 文件名，文件后缀，文件大小，文件路径
     * @return
     */
    @Override
    public ServerResponse saveEnclosureInfo(Enclosure enclosure) {
        return ServerResponse.response(CommonStatus.SERVICE_IS_UNAVAILABLE);
    }
}
